﻿using POCOS;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace GUI.Models
{
    public class AuteurModel
    {


        public int Id { get; set; }
        [Required]
        [Display(Name = "الاسم")]
        public string Name { get; set; }
        [Required]
        [Display(Name = "اللقب")]
        public string Lastname { get; set; }
     
        [Required]
        [Display(Name = "لمحة")]
         
        public string Profil { get; set; }
        
        [DataType(DataType.EmailAddress)]
        [Display(Name="العنوان إلكتروني")]
        public string Adressmail { get; set; }

        public UserProfile Userprofile { get; set; }
        public virtual int UserProfileId { get; set; }


        public AuteurModel()
        {

        }
    }
}